TAGs: Comparative advantage theory